import request from '@/utils/request'

// 查询跑批日切管理列表
export function listBatchJobMonitoring(query) {
    return request({
        url: '/business/BatchJobMonitoring/list',
        method: 'get',
        params: query
    })
}

// 查询跑批日切管理详细
export function getBatchJobMonitoring(id) {
    return request({
        url: '/business/BatchJobMonitoring/' + id,
        method: 'get'
    })
}

// 新增跑批日切管理
export function addBatchJobMonitoring(data) {
    return request({
        url: '/business/BatchJobMonitoring',
        method: 'post',
        data: data
    })
}

// 修改跑批日切管理
export function updateBatchJobMonitoring(data) {
    return request({
        url: '/business/BatchJobMonitoring',
        method: 'put',
        data: data
    })
}

// 删除跑批日切管理
export function delBatchJobMonitoring(id) {
    return request({
        url: '/business/BatchJobMonitoring/' + id,
        method: 'delete'
    })
}

// 导出跑批日切管理
export function exportBatchJobMonitoring(query) {
    return request({
        url: '/business/BatchJobMonitoring/export',
        method: 'get',
        params: query
    })
}